package com.dm.dao;

import com.dm.pojo.DmPayTrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmPayTradeMapper {

	public DmPayTrade getDmPayTradeById(@Param(value = "id") Long id)throws Exception;

	public List<DmPayTrade>	getDmPayTradeListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmPayTradeCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmPayTrade(DmPayTrade dmPayTrade)throws Exception;

	public Integer updateDmPayTrade(DmPayTrade dmPayTrade)throws Exception;

	public Integer deleteDmPayTradeById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmPayTrade(Map<String, List<String>> params);

}